#include <unistd.h>
#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
int main( void )
{
  string tmp;
  while(cin >> tmp)
    {
      cout << "from pipe: " << tmp << endl;
    }
  

  return 0;
}
